// 响应式布局
(function () {
  var fontRatio = 16
  var windowWidth
  var rootFontSize
  function modifyRootFontSize () {
    windowWidth = document.documentElement.clientWidth
    rootFontSize = windowWidth / fontRatio
    document.getElementsByTagName('html')[0].style.cssText = document.getElementsByTagName('html')[0].style.cssText + 'font-size:' + rootFontSize + 'px'
  }
  modifyRootFontSize()
  window.onresize = function () {
    modifyRootFontSize()
  }

    



})()
